package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 排期优惠卡信息对象 schedule_promo_card_info
 *
 * @author HHAOYU
 * @date 2020-12-13
 */
@TableName("schedule_promo_card_info")
public class SchedulePromoCardInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** 排期优惠ID */
    @Excel(name = "排期优惠ID")
    private Long schedulePromoId;
    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;
    /** 卡规则ID */
    @Excel(name = "卡规则ID")
    private String cardRuleId;
    /** 卡类型 */
    @Excel(name = "卡类型")
    private String cardType;
    /** 是否支持补现 */
    @Excel(name = "是否支持补现")
    private Integer canReplenish;
    /** 支持的支付方式 */
    @Excel(name = "支持的支付方式")
    private String supportPayments;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSchedulePromoId(Long schedulePromoId)
    {
        this.schedulePromoId = schedulePromoId;
    }

    public Long getSchedulePromoId()
    {
        return schedulePromoId;
    }
    public void setCardNo(String cardNo)
    {
        this.cardNo = cardNo;
    }

    public String getCardNo()
    {
        return cardNo;
    }
    public void setCardRuleId(String cardRuleId)
    {
        this.cardRuleId = cardRuleId;
    }

    public String getCardRuleId()
    {
        return cardRuleId;
    }
    public void setCardType(String cardType)
    {
        this.cardType = cardType;
    }

    public String getCardType()
    {
        return cardType;
    }
    public void setCanReplenish(Integer canReplenish)
    {
        this.canReplenish = canReplenish;
    }

    public Integer getCanReplenish()
    {
        return canReplenish;
    }
    public void setSupportPayments(String supportPayments)
    {
        this.supportPayments = supportPayments;
    }

    public String getSupportPayments()
    {
        return supportPayments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulePromoId", getSchedulePromoId())
            .append("cardNo", getCardNo())
            .append("cardRuleId", getCardRuleId())
            .append("cardType", getCardType())
            .append("canReplenish", getCanReplenish())
            .append("supportPayments", getSupportPayments())
            .toString();
    }
}
